import request from '@/utils/request'

// 查询App版本号列表
export function listVersionUpgrade(query) {
  return request({
    url: '/datam/VersionUpgrade/list',
    method: 'get',
    params: query
  })
}

// 查询App版本号详细
export function getVersionUpgrade(id) {
  return request({
    url: '/datam/VersionUpgrade/' + id,
    method: 'get'
  })
}

// 新增App版本号
export function addVersionUpgrade(data) {
  return request({
    url: '/datam/VersionUpgrade',
    method: 'post',
    data: data
  })
}

// 修改App版本号
export function updateVersionUpgrade(data) {
  return request({
    url: '/datam/VersionUpgrade',
    method: 'put',
    data: data
  })
}

// 删除App版本号
export function delVersionUpgrade(id) {
  return request({
    url: '/datam/VersionUpgrade/' + id,
    method: 'delete'
  })
}
